iT邦幫忙

1

課內筆記整理---計算機網路

  • 分享至 

  • xImage
  •  

計算機網路

參考自李春良老師 計算機網路課程部分PPT擷取
網路參考源: 國立台灣大學 Lecture Slides
Introduction to Computer Networks
Spring 2022

資安相關名詞

  • botnet
  • virus
  • worm
  • DDos
  • IP spooting
  • spyware
  • packet sniffing (筆記手誤)

image

image

網路基本概念

  • cookies
  • IMAP v.s. POP3
  • DNS(Domian name system)
  • tracked, torrent
  • DNS poisoning attack
  • DNS provider
  • web cache
  • condition GET
  • persistent HTTP

image

image

image

image

DNS的問題: 前身

假設一個DNS包含所有映射的DNS,會有四項問題

    1. Single point of failure
    1. Traffic volume
    1. Distant centralized database
    1. Maintenance

image

解決方法 ---> Hierarchical database(筆記手誤)

image

相關名詞

  • Authoritire DNS Server
  • Local DNS server

image

  • recursive query
  • iterative query

image

image

  • DNS Caching

image

  • DNS RR format

image

  • Attack DNS
    • DDOS
    • bombard TLD Server

image

TCP觀念

    1. reliable
    1. flow control
    1. congestion control
    1. In transport layer

SSL加密

    1. provide TCP encrypted connection
    1. In application layer

SMTP(Simple Mail Transfer protocol)

    1. hand shaking
    1. transfer msg
    1. closure

image

image

Transport & Network layer

  • UDP
  • TCP

image

  • Go back-N

image

image

  • Select repeat

image

image

TCP

TCP segment structure

image

image

TCP retransmission scenarios

    1. Lost ACK
    1. Premature timeout
    1. Commulative ACK

image

  • TCP fast retransmit

image

image

  • Three-way handshake

image

  • Congestion Control
    1. AIMD --> Slow start問題

image

image

image

  • TCP fair

image

  • forwarding
  • routing

image

  • Data plane
  • Control plane

image

  • Longest prefix matching(LPM)

image

image

網路連結方式

  1. Switch
  2. Bus
  3. Crossbar

image

image

image

HOL (Hand of the line blocking)問題與排排程機制

  • 問題

image

image

  • 解法
    1. FIFO
    1. Priority
    1. RR
    1. WFQ(Weighted Fair Queing)

image

image

image

ICMP protocol

image

  • network link layer

image

IP Addressing 方法

image

* Subnet Group

image

  • CIDR

image

  • IP 取得方式
    1. 手動
    1. 自動(DHCP)

image

image

image

NAT(Networling Addressing Translation)

image

Routing ALGO分類

  1. 根據router知道全域 & 區域資料
    • Global: Link State ALGO
      • Broadcast產生Forwading Table
      • Dijkastra's algo
      • 缺點(特色): 容易震盪(Oscillation Possible)
    • Decentralized: Distance vector algo
      • 鄰近節點找最短路徑
      • Bellman Ford algo
      • 缺點(特色): Bad news travels slow(count to infinity問題)
  2. 根據更新速度
    • Static
    • Dynamic
      image

image

image

  • 兩種協定比較

image

Internet approach

    1. Intra AS (AS 內部)
      1. RIP(Routing Information Protocol)
      1. OSPF(Open Shortest Path First)
      1. IGRP(Interier Gateway Routing Protocol)
    1. Inter AS (AS 間): 只有 BGP(Border Gateway Protocol)
    • eBGP(egress)
    • iBGP(ingress)

image

image

  • OSPF

image

image

  • ICMP

image

  • SNMP

image

Link layer

  • Link
      1. wired link
      1. wireless
      1. LANS

image
image

  • Link layer serice
    • flow control
    • error detection
    • error correction
    • half-duplex, full-duplex

image

  • Error Detection
      1. Parity checking(Odd/Even)
      1. CRC(Cyclic Redundancy Check)

image

image

image

image

Multuple Access & MAC

Multiple Access Protocol 理想四要件判斷
image image
  • MAC Protocol分類
      1. Channel Partitioning(筆記手誤)
      • TDMA(Time Division Multiple Access)
      • FDMA(Frequency Division Multiple Access)
      1. Random Access
      • Slotted ALOHA
      • Pure(unslotted) ALOHA
      • CSMA(Carrier Sense Multiple Access)
      • CSMA/CD
      • CSMA/CA
    1. Taking turns
      image

image

image

image

image

image

image

image

image

ARP

image

image

image

Ethernet

image

image

image

image


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言